/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package pl.edu.agh.student.logic.service;

import org.jboss.seam.annotations.In;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Out;
import pl.edu.agh.student.logic.dao.GenericDao;
import pl.edu.agh.student.logic.dao.CustomerDao;
import pl.edu.agh.student.model.Customer;

/**
 *
 * @author janburkot
 */
@Name("customerService")
public class CustomerServiceImpl extends GenericServiceImpl<Customer> implements CustomerService {

    @In(value="customerDao",create=true,required=false)
    @Out
    protected CustomerDao dao;
    
    @Override
    public GenericDao<Customer> getDao() {
        return dao;
    }

}
